package books.ThinkingInJava.src.Chapter10;

public class TestInnerClass {
    public static void main(String[] arg) {
        main m = new main();
        m.miao();
        class test {
            int i = 999;
        }
        test test = new test();
        System.out.println(test.i);

        Interfaces in = new Interfaces() {
            @Override
            public void wr() {
                System.out.println("MIAOMIAO");
            }
        };
        in.wr();
    }

    public interface Interfaces {
        void wr();
    }

    public static class main {
        public void miao() {
            System.out.println("miao");
        }
    }

    public class test {
        public test() {
            System.out.println();
        }
    }


}
